package cn.rulian.car.outbill.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.rulian.base.common.service.BaseService;
import cn.rulian.car.outbill.bo.OutBillFlow;
import cn.rulian.car.outbill.dao.OutBillFlowDao;

/**
 * 外出单--流转
 */
@Service
@Transactional(readOnly = true)
public class OutBillFlowService extends BaseService<OutBillFlow>
{

	// private final Logger log = LoggerFactory.getLogger(getClass());

	@Autowired
	private OutBillFlowDao dao;

	@Override
	protected OutBillFlowDao getDao()
	{
		return dao;
	}

	public List<OutBillFlow> findByOutBill_id(Long id){
		return dao.findByOutBill_idOrderByOpeTime(id);
	}

}
